package com.fivefu.core.data.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fivefu.core.data.entity.DbFfskyeyeDevice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fivefu.core.data.vo.response.ProSourcePageList;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 设备 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-09-01 19:22:07
 */
public interface DbFfskyeyeDeviceMapper extends BaseMapper<DbFfskyeyeDevice> {

    /**
     * 探头源数据分页查询
     *
     * @param iPage
     * @param deviceModel 设备型号
     * @param cameraName 设备名称
     * @param cameraType 通道类型
     * @param cameraManufacturer 厂商
     * @param deviceSerialNum 设备序列号
     * @param cameraStatus 探头状态
     */
    Page<ProSourcePageList> queryDeviceList(IPage<ProSourcePageList> iPage,
                                            @Param("deviceModel")String deviceModel,
                                            @Param("cameraName")String cameraName,
                                            @Param("cameraType")String cameraType,
                                            @Param("cameraManufacturer")String cameraManufacturer,
                                            @Param("deviceSerialNum")String deviceSerialNum,
                                            @Param("cameraStatus")Integer cameraStatus);
}
